package com.ruoyi.yipaiju.service;

import java.util.List;
import com.ruoyi.yipaiju.domain.Aerich;

/**
 * fo_aerichService接口
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public interface IAerichService 
{
    /**
     * 查询fo_aerich
     * 
     * @param id fo_aerich主键
     * @return fo_aerich
     */
    public Aerich selectAerichById(Long id);

    /**
     * 查询fo_aerich列表
     * 
     * @param aerich fo_aerich
     * @return fo_aerich集合
     */
    public List<Aerich> selectAerichList(Aerich aerich);

    /**
     * 根据业务主键查询一条记录：fo_aerich
     *
     * @param aerich fo_aerich
     * @return fo_aerich
     */
    public Aerich selectOneAerich(Aerich aerich);

    /**
     * 新增fo_aerich
     * 
     * @param aerich fo_aerich
     * @return 结果
     */
    public int insertAerich(Aerich aerich);

    /**
     * 修改fo_aerich
     * 
     * @param aerich fo_aerich
     * @return 结果
     */
    public int updateAerich(Aerich aerich);

    /**
     * 修改fo_aerich
     *
     * @param aerich fo_aerich
     * @param aerich fo_aerich条件
     * @return 结果
     */
    public int updateAerichCondition(Aerich aerich, Aerich aerichCondition);

    /**
     * 批量删除fo_aerich
     * 
     * @param ids 需要删除的fo_aerich主键集合
     * @return 结果
     */
    public int deleteAerichByIds(Long[] ids);

    /**
     * 删除fo_aerich信息
     * 
     * @param id fo_aerich主键
     * @return 结果
     */
    public int deleteAerichById(Long id);

    /**
     * 条件删除fo_aerich
     *
     * @param aerich fo_aerich
     * @return 结果
     */
    public int deleteAerichByCondition(Aerich aerich);
}
